Skip to content

Clean up orphaned test files in StochasticDiffEq#3205

Merged
ChrisRackauckas merged 4 commits intoSciML:masterfrom
ChrisRackauckas-Claude:fix/stochastic-orphaned-tests
Mar 23, 2026
Merged

Clean up orphaned test files in StochasticDiffEq#3205
ChrisRackauckas merged 4 commits intoSciML:masterfrom
ChrisRackauckas-Claude:fix/stochastic-orphaned-tests

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

Fixes #3163 — cleans up orphaned test files in lib/StochasticDiffEq/test/ left behind after the SDE subpackage split (PR #3154).

Deleted 14 files:

  • 12 duplicates whose canonical versions now live in StochasticDiffEqWeak and StochasticDiffEqROCK subpackages:
    • weak_convergence/: PL1WM.jl, SIE_SME.jl, W2Ito1.jl, iri1_weak.jl, srk_weak_diagonal_final.jl, srk_weak_final.jl, srk_weak_final_non_diagonal.jl, weak_strat.jl, weak_strat_non_diagonal.jl, weak_srockc2.jl
    • adaptive/: sde_weak_adaptive.jl, sde_weak_brusselator_adaptive.jl
  • units_tests.jl — entirely commented-out stub, no working tests
  • oval2_single.jl — benchmark/profiling script (uses BenchmarkTools, ProfileView), not a test

Added 5 orphaned tests to test groups in runtests.jl:

  • aliasing_tests.jlInterface1 (tests SDE/RODE alias keyword handling)
  • noncommutative_tests.jlAlgConvergence (convergence tests for noncommutative noise solvers)
  • unrolled_comparison_tests.jlAlgConvergence (verifies SRI ≡ SRIW1 for default tableaux)
  • sparsediff_tests.jlInterface3 (sparse Jacobian prototype with SKenCarp)
  • split_tests.jlAlgConvergence2 (SplitSDE convergence with SKenCarp)

Test plan

  • CI passes for Interface1, Interface2, Interface3, AlgConvergence, AlgConvergence2, AlgConvergence3 test groups
  • Verify no remaining orphaned .jl files in lib/StochasticDiffEq/test/

🤖 Generated with Claude Code

ChrisRackauckas and others added 4 commits March 21, 2026 15:30
Delete 12 duplicate test files whose canonical versions now live in
StochasticDiffEqWeak and StochasticDiffEqROCK subpackages. Delete 2
additional files: units_tests.jl (commented-out stub) and oval2_single.jl
(benchmark script, not a test). Add 5 previously orphaned but working
test files to appropriate test groups in runtests.jl:
- aliasing_tests.jl → Interface1
- noncommutative_tests.jl → AlgConvergence
- unrolled_comparison_tests.jl → AlgConvergence
- sparsediff_tests.jl → Interface3
- split_tests.jl → AlgConvergence2

Fixes SciML#3163

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…gence test as broken

split_tests.jl: SplitEM vs EM noise sharing comparison produces different
trajectories — pre-existing breakage, not a regression from this PR.

noncommutative_tests.jl:112: RKMilGeneral(p=true) weak convergence estimate
is unreliable with only 100 trajectories on this non-commutative problem.
Strong convergence was already @test_broken; mark weak convergence the same.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SRI() and SRIW1() produce completely different trajectories with the same
seed — all 4 assertions fail. Pre-existing breakage, not a regression.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 468fef6 into SciML:master Mar 23, 2026
100 of 105 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Orphaned test files in lib/StochasticDiffEq/test/

2 participants